package com.yao.service;

import com.yao.dto.OrderDTO;

/**
 * User: 姚宏武
 * Date: 2017/11/20
 * Time: 17:11
 * Email：401369870@qq.com
 * Description: 买家service层
 */
public interface BuyerService {
    /**
     * 查询一个订单
     * @param openid 用户微信openid
     * @param orderId 订单id
     * @return
     */
    OrderDTO findOrderOne(String openid,String orderId);

    /**
     * 取消订单
     * @param openid 用户微信openid
     * @param orderId 订单id
     * @return
     */
    OrderDTO cancelOrder(String openid,String orderId);
}
